package com.meteor.raft.cluster;

/**
 * @author gang.wang1903@xiaobao100.cn
 * @Date: 2019/7/22 10:22 AM
 */
public interface ClusterService {


    /**
     * publish data
     * @param value
     * @return
     */
    public Boolean publish(String key ,String value);


    /**
     * 获取集群数据
     * @param key
     * @return
     */
    public String getData(String key);
}
